Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix generate diff check #943

Merged
merged 1 commit into from
Nov 15, 2024
Merged

fix generate diff check #943

merged 1 commit into from
Nov 15, 2024

Conversation

jmank88
Copy link
Collaborator

@jmank88 jmank88 commented Nov 14, 2024

Our git diff checks (used to verify tidiness and that generated files are up to date) fail in cases where there are completely new files. This is both due to the files being unstaged as well as the default behavior of git diff to be to ignore them. We can call git add -all first, and include the --cached flag to get the behavior we want.

@jmank88
Copy link
Collaborator Author

jmank88 commented Nov 14, 2024

This is meant to be failing initially in order to demonstrate the fix, but it is still passing 🤦 😕
Edit: fixed

@jmank88 jmank88 merged commit ad84e37 into main Nov 15, 2024
11 checks passed
@jmank88 jmank88 deleted the gen-diff branch November 15, 2024 12:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants